package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemUserRoleGroup;

public interface ITSystemUserRoleGroupDAO {
	/**
	 * 添加
	 * @param transientInstance
	 */
	public abstract void save(TSystemUserRoleGroup transientInstance);
	/**
	 * 删除
	 * @param transientInstance
	 */
	public abstract void delete(TSystemUserRoleGroup persistentInstance);
	/**
	 * 根据ID查询
	 * @param transientInstance
	 */
	public abstract TSystemUserRoleGroup findById(java.lang.Integer id);
	/**
	 * 根据USERID查询
	 * @param transientInstance
	 */
	public abstract List findByuserId(java.lang.Integer userId);
	/**
	 * 根据示例查询
	 * @param transientInstance
	 */
	public abstract List findByExample(TSystemUserRoleGroup instance);
	/**
	 * 根据属性查询
	 * @param transientInstance
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查询所有
	 * @param transientInstance
	 */
	public abstract List findAll();
	/**
	 * 更新
	 * @param transientInstance
	 */
	public abstract TSystemUserRoleGroup merge(
			TSystemUserRoleGroup detachedInstance);

	public abstract void attachDirty(TSystemUserRoleGroup instance);

	public abstract void attachClean(TSystemUserRoleGroup instance);

}